﻿using UnityEngine;
using System.Collections;

public class cleanse : SummonerSpell {
	
	// Use this for initialization
	void Start () {
		initializeStuff();
		initializeSummonerSpellStuff();
		forAllies = true;
		cardName = "Cleanse";
		cardDescription = "Target allied Champion has all crowd control effects removed.";
	}
	
	public override void playSpell(Champion champion){
		champion.canMove = true;
		champion.canAttack = true;
		base.playSpell(champion);
	}
	
	public override float evaluateSummonerSpell(Champion champion){
		float hValue = 0;
		if(!champion.canMove)
			hValue += 10;
		if(!champion.canAttack)
			hValue +=10;
		return hValue;
	}
}
